#-------------------------------------------------
#
# Project created by QtCreator 2016-12-08T08:25:01
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += motionDelEnglishLan.ts

TARGET = MotionInstructionDelegate
TEMPLATE = lib

DEFINES += MOTIONINSTRUCTIONDELEGATE_LIBRARY

SOURCES += motioninstructiondelegate.cpp

HEADERS += motioninstructiondelegate.h\
        motioninstructiondelegate_global.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}

INCLUDEPATH += ../../ProgramSet
INCLUDEPATH += ../../../include/MacroDefine
INCLUDEPATH += ../../CommunicateDelegate
INCLUDEPATH += ../../ProgramLanguageTranslate

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../../lib/x86_WINDOWS

LIBS += -L../../../lib/x86_WINDOWS -lMotionInstructionView
LIBS += -L../../../lib/x86_WINDOWS -lHmiCommunicate
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../../lib/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../../lib/arm
}



UI_DIR += ../../../build/tmphmi/x86_linux
MOC_DIR += ../../../build/tmphmi/x86_linux
OBJECTS_DIR += ../../../build/tmphmi/x86_linux
RCC_DIR  += ../../../build/tmphmi/x86_linux
